package com.wxyzz.canteenadmin.canteencard.sale.service;

import com.github.pagehelper.PageInfo;
import com.wxyzz.canteenadmin.canteencard.sale.param.SaleParam;
import com.wxyzz.canteenadmin.canteencard.sale.vo.SaleVo;
import com.wxyzz.canteenadmin.vip.entity.member.Member;
import com.wxyzz.canteencommon.entity.card.sale.Sale;

import java.util.List;


public interface SaleService {
    PageInfo<SaleVo> findAllSaleAndPage(SaleParam saleParam);

    void delSaleById(Integer saleId);

    List<Member> findAllMember();

    Member findMemberById(Integer memberId);

    void insertSale(Sale sale);
}
